/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package music.types;

/**
 *
 * @author TJ
 */
public enum BaseNotes {
    C(60,"C"),D(62,"D"),E(64,"E"),F(65,"F"),G(67,"G"),
    A(69,"A"),B(71,"B");
    private int val;
    private String name;
    private BaseNotes(int i,String s){
        val=i;
        name=s;
    }
    public int getMidiValue(){return val;}
    public MidiNote getNote(){return new MidiNote(val,name);}
    public String toString() {return name;}
}
